package com.easyse.model.DO;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户和角色关联表(SystemUserRole)实体类
 *
 * @author makejava
 * @since 2022-10-29 14:23:44
 */

@TableName(value ="system_user_role")
@Data
@Builder
@Accessors
@AllArgsConstructor
@NoArgsConstructor
public class SystemUserRole implements Serializable {
    private static final long serialVersionUID = 508712780622236115L;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 角色ID
     */
    private Long roleId;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

}

